const path = require('path')


console.log(path.resolve(__dirname, './src'), 'sjsjsj')
module.exports = {
    publicPath: "./",
    outputDir: 'dist', // 输出文件目录
    configureWebpack: (config) => {
    },
    productionSourceMap: false, // 生产环境是否生成 sourceMap 文件
    css: {
    },
    lintOnSave: false,
    devServer: {
        open: process.platform === 'darwin',
        hot: true,
        host: '0.0.0.0', // 允许外部ip访问
        port: 8022, // 端口
        https: false, // 启用https
        overlay: {
            warnings: false,
            errors: false
        }, // 错误、警告在页面弹出
    },
}
